package com.foldingleaf.show.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.foldingleaf.common.annotation.Excel;
import com.foldingleaf.common.core.domain.BaseEntity;

/**
 * 藏品详情对象 sys_collection
 *
 * @author ajian
 * @date 2022-06-04
 */
public class SysCollection
{
    private static final long serialVersionUID = 1L;

    /** 藏品id */
    private Long collectionId;

    /** 藏品链上id */
    @Excel(name = "藏品链上id")
    private String collectionHashId;

    /** 藏品名称 */
    @Excel(name = "藏品名称")
    private String collectionName;

    /** 藏品价格 */
    @Excel(name = "藏品价格")
    private BigDecimal collectionPrice;

    /** 藏品状态（0正常 1挂售 2暂停销售） */
    @Excel(name = "藏品状态", readConverterExp = "0=正常,1=挂售,2=暂停销售")
    private String collectionStatus;

    /** 藏品图片地址 */
    @Excel(name = "藏品图片地址")
    private String collectionUrl;

    /** 藏品作者 */
    @Excel(name = "藏品作者")
    private String collectionAuthorId;

    /** 藏品描述 */
    @Excel(name = "藏品描述")
    private String collectionDesc;

    /** 拥有者id */
    @Excel(name = "拥有者id")
    private Long userId;

    /** 藏品展示id */
    @Excel(name = "藏品展示id")
    private Long collectionShowId;

    /** 是否出售 0未出售 1已出售 */
    @Excel(name = "是否出售 0未出售 1已出售")
    private String isSell;

    /** 收藏时间 */
    @Excel(name = "收藏时间")
    private Long colletionTime;

    /** 交易hash */
    @Excel(name = "交易hash")
    private String collectionOrderNoHashId;

    public void setCollectionId(Long collectionId)
    {
        this.collectionId = collectionId;
    }

    public Long getCollectionId()
    {
        return collectionId;
    }
    public void setCollectionHashId(String collectionHashId)
    {
        this.collectionHashId = collectionHashId;
    }

    public String getCollectionHashId()
    {
        return collectionHashId;
    }
    public void setCollectionName(String collectionName)
    {
        this.collectionName = collectionName;
    }

    public String getCollectionName()
    {
        return collectionName;
    }
    public void setCollectionPrice(BigDecimal collectionPrice)
    {
        this.collectionPrice = collectionPrice;
    }

    public BigDecimal getCollectionPrice()
    {
        return collectionPrice;
    }
    public void setCollectionStatus(String collectionStatus)
    {
        this.collectionStatus = collectionStatus;
    }

    public String getCollectionStatus()
    {
        return collectionStatus;
    }
    public void setCollectionUrl(String collectionUrl)
    {
        this.collectionUrl = collectionUrl;
    }

    public String getCollectionUrl()
    {
        return collectionUrl;
    }
    public void setCollectionAuthorId(String collectionAuthorId)
    {
        this.collectionAuthorId = collectionAuthorId;
    }

    public String getCollectionAuthorId()
    {
        return collectionAuthorId;
    }
    public void setCollectionDesc(String collectionDesc)
    {
        this.collectionDesc = collectionDesc;
    }

    public String getCollectionDesc()
    {
        return collectionDesc;
    }
    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }
    public void setCollectionShowId(Long collectionShowId)
    {
        this.collectionShowId = collectionShowId;
    }

    public Long getCollectionShowId()
    {
        return collectionShowId;
    }
    public void setIsSell(String isSell)
    {
        this.isSell = isSell;
    }

    public String getIsSell()
    {
        return isSell;
    }
    public void setColletionTime(Long colletionTime)
    {
        this.colletionTime = colletionTime;
    }

    public Long getColletionTime()
    {
        return colletionTime;
    }
    public void setCollectionOrderNoHashId(String collectionOrderNoHashId)
    {
        this.collectionOrderNoHashId = collectionOrderNoHashId;
    }

    public String getCollectionOrderNoHashId()
    {
        return collectionOrderNoHashId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("collectionId", getCollectionId())
                .append("collectionHashId", getCollectionHashId())
                .append("collectionName", getCollectionName())
                .append("collectionPrice", getCollectionPrice())
                .append("collectionStatus", getCollectionStatus())
                .append("collectionUrl", getCollectionUrl())
                .append("collectionAuthorId", getCollectionAuthorId())
                .append("collectionDesc", getCollectionDesc())
                .append("userId", getUserId())
                .append("collectionShowId", getCollectionShowId())
                .append("isSell", getIsSell())
                .append("colletionTime", getColletionTime())
                .append("collectionOrderNoHashId", getCollectionOrderNoHashId())
                .toString();
    }
}
